package JavaShengSai;

import java.util.Scanner;

/**
 * 5. 日期格式
 * https://www.lanqiao.cn/problems/2353/learning/?page=1&first_category_id=1&tags=2020,%E7%9C%81%E8%B5%9B&tag_relation=intersection&sort=pass_rate&asc=0
 */
public class Main14 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int month = scan.nextInt();
        int day = scan.nextInt();
        String[] months = {"0","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"};
        StringBuffer ret = new StringBuffer();
        ret.append(months[month]);
        if(day < 10) {
            ret.append("0").append(day);
        }else{
            ret.append(day);
        }
        System.out.println(ret.toString());
        scan.close();
    }
}
